package com.lfs.admin.dao;

import com.lfs.admin.model.dto.ShopDto;
import com.lfs.admin.model.entity.ShopEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopDao {

    List<ShopEntity> queryShopList(ShopDto shopDto);

    int deleteShop(int id);

    int updateShopInfo(ShopEntity shopEntity);

    List<ShopEntity> queryExpireShopList(@Param("agtNo") String agtNo);

    List<ShopEntity> queryUserShopList(@Param("agtNo") String agtNo);

    int insertShop(ShopEntity shopEntity);

    ShopEntity getShopByName(@Param("shopName") String shopName);

    List<ShopEntity> getCurrUserShopAllData(@Param("agtNo") String agtNo);

    List<ShopEntity> queryShopListById(List<String> shopIds);

    ShopEntity queryShopById(@Param("shopId") String shopId);

}
